package com.yunzhi.content.service;

import com.yunzhi.content.model.dto.BindTeachplanMediaDto;
import com.yunzhi.content.model.dto.SaveTeachplanDto;
import com.yunzhi.content.model.dto.TeachplanDto;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @description 课程计划管理相关接口
 */
public interface TeachplanService {
    /**
     * 根据课程id查询课程计划
     *
     * @param courseId 课程计划
     * @return
     */
    public List<TeachplanDto> findTeachplanTree(Long courseId);

    /**
     * 新增/修改/保存课程计划
     *
     * @param saveTeachplanDto
     */
    public void saveTeachplan(SaveTeachplanDto saveTeachplanDto);


    /**
     * @param bindTeachplanMediaDto
     * @return com.yunzhi.content.model.po.TeachplanMedia
     * @description 教学计划绑定媒资
     */
    public void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    /**
     * @description 删除课程计划
     */
    public void deleteTeachplan(Long teachplan);

    /**
     * @description 向下移动
     */
    public void movedownTeachplanId(Long teachplanId);
}
